<?xml version="1.0"?>
<jsp:root 	xmlns:jsp="http://java.sun.com/JSP/Page"
 			xmlns:c="http://java.sun.com/jsp/jstl/core"
 			xmlns="http://www.w3.org/1999/xhtml"
 			version="2.1">
 
 <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
 <jsp:directive.page isELIgnored="false" />
 <jsp:output 	omit-xml-declaration="false" 
 			 	doctype-root-element="HTML" 
 				doctype-system="about:legacy-compat" />
 
 <jsp:useBean id="datosLogin" class="es.javamyadmin.beans.LoginBean" scope="session" />
 
 <jsp:useBean id="listaUsuariosBean" class="es.javamyadmin.beans.ListaUsuariosBean" scope="session" />
 <jsp:setProperty property="user" name="listaUsuariosBean" value="${datosLogin.usuario}" />
 <jsp:setProperty property="pass" name="listaUsuariosBean" value="${datosLogin.password}" />
 <jsp:setProperty property="host" name="listaUsuariosBean" value="${datosLogin.servidor}" />
 <jsp:setProperty property="port" name="listaUsuariosBean" value="${datosLogin.puerto}" />
 <jsp:setProperty property="clausulaWhere" name="listaUsuariosBean" value="WHERE User ='${param.usuarioSQL}' AND Host ='${param.hostSQL}'" />


<html>
<head>

<link rel="icon" href="${pageContext.request.contextPath}/images/icons/favicon.png" type="image/x-icon"/>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/icons/favicon.png" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/java-admin.css" media="screen" />

<script src="${pageContext.request.contextPath}/js/jquery.js"><!-- N --></script>
<script src="${pageContext.request.contextPath}/js/bootstrap-transition.js"><!-- N --></script>
<script src="${pageContext.request.contextPath}/js/bootstrap-modal.js"><!-- N --></script>
<script src="${pageContext.request.contextPath}/js/ajaxCargarMsjConfirmacion.js"><!-- N --></script>

<title>JavaMyAdmin</title>

<script>
	function checkear(clas) {
		var check = document.getElementsByClassName(clas);
		if(document.getElementById('todos'+clas).checked == true){
			var seleccionar = true;
			//document.getElementById('todos' + clas + "Txt").innerHTML = "Ninguno";
		}
		else{
			var seleccionar = false;
			//document.getElementById('todos' + clas + "Txt").innerHTML = "Todos";
		}
		for(var i = 0; check.length>i; i++){
			check[i].checked = seleccionar;
		}
		
	}
</script>

<script>
	$(document).ready(function() {
		$('#windowTitleDialog').bind('show', function () {
			
		});
	});
	function closeDialog () {
		$('#windowTitleDialog').modal('hide'); 
	};
	function okClicked () {
		closeDialog ();
	};	
</script>

</head>

<body>
<div id="wrapper">
<div id="todo">

<div id="contenedor">
	
	<jsp:include page="../includes/sidebar-left.jsp" />
	
	<div id="contenido">
	
		<jsp:include page="../includes/cabecera.jsp" />
		
		<!-- Error de conexión -->
		<c:if test="${error!=null}"><div id="ko"  class="aviso"><div class="pro_aviso ko"><p>${error }<c:if test="${descripcion != null}"><a id="especial" data-toggle="modal" href="#windowTitleDialog" onclick="cargarDatosMsj('6', '${descripcion}', '');" style="font-size:'10px'; "> (más)</a></c:if></p></div></div></c:if>		
		<c:if test="${ok!=null}"><div class="aviso"><div class="pro_aviso ok"><p><c:out value="${ok}"></c:out></p></div></div></c:if>
		<c:if test="${warning!=null}"><div id="warning"  class="aviso"><div class="pro_aviso alert"><p>${warning }</p></div></div></c:if>
		
		<!-- VENTANA EMERGENTE DE CONFIRMACIÓN -->
		<div id="windowTitleDialog" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="windowTitleLabel" aria-hidden="true">
			<!-- se cargará el mensaje por ajax -->
		</div>
		
		<form action="${pageContext.request.contextPath}/jsp/procesar/procesar-editar-usuario.jsp" method="post">
			
			<c:forEach var="lista" items="${listaUsuariosBean.usuarios}">
			
				<img style="float: left; margin-right: 5px;" src="${pageContext.request.contextPath}/images/icons/user.png"/><h2>Usuario: ${lista.user}</h2>
				
				<div style="clear: both;"></div>
			
				<fieldset id="privilegios">
					<legend>Privilegios Globales</legend>
					
					<fieldset id="datos">
						<legend>Datos</legend>
						
						<table>
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.select_priv=='Y'}">
											<input type="checkbox" name="select_priv" checked="checked" id="select_priv" value="Y" class="datos"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="select_priv" id="select_priv" value="Y" class="datos"/>
										</c:otherwise>
									</c:choose>								
								</td>
								<td>
									<label for="select_priv">
										<tt>
											<dfn title="Permite leer los datos.">SELECT</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.insert_priv=='Y'}">
											<input type="checkbox" name="insert_priv" checked="checked" id="insert_priv" value="Y" class="datos"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="insert_priv" id="insert_priv" value="Y" class="datos"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="insert_priv">
										<tt>
											<dfn title="Permite insertar y reemplazar datos.">INSERT</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.update_priv=='Y'}">
											<input type="checkbox" name="update_priv" checked="checked" id="update_priv" value="Y" class="datos"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="update_priv" id="update_priv" value="Y" class="datos"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="update_priv">
										<tt>
											<dfn title="Permite cambiar los datos.">UPDATE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.delete_priv=='Y'}">
											<input type="checkbox" name="delete_priv" checked="checked" id="delete_priv" value="Y" class="datos"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="delete_priv" id="delete_priv" value="Y" class="datos"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="delete_priv">
										<tt>
											<dfn title="Permite borrar datos.">DELETE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.file_priv=='Y'}">
											<input type="checkbox" name="file_priv" checked="checked" id="file_priv" value="Y" class="datos"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="file_priv" id="file_priv" value="Y" class="datos"/>
										</c:otherwise>
									</c:choose>
								
								</td>
								<td>
									<label for="file_priv">
										<tt>
											<dfn title="Permite importar y exportar datos de y hacia archivos.">FILE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
							<td><input type="checkbox" id="todosdatos" onclick="checkear('datos')"/></td>
							<td>
								<label for="todosdatos">
									<tt>
										<dfn id="todosdatosTxt"  title="Seleccionar todos los permisos de datos.">Todos</dfn>
									</tt>
								</label>
							</td>
						</tr>
							
						</table>
											
					</fieldset>
					
					<fieldset id="estructura">
						<legend>Estructura</legend>
						
						<table>
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.create_priv=='Y'}">
											<input type="checkbox" name="create_priv" checked="checked" id="create_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="create_priv" id="create_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="create_priv">
										<tt>
											<dfn title="Permite crear nuevas bases de datos y tablas.">CREATE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.alter_priv=='Y'}">
											<input type="checkbox" name="alter_priv" checked="checked" id="alter_priv" value="Y"  class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="alter_priv" id="alter_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="alter_priv">
										<tt>
											<dfn title="Permite alterar la estructura de las tablas existentes.">ALTER</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.index_priv=='Y'}">
											<input type="checkbox" name="index_priv" checked="checked" id="index_priv" value="Y"  class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="index_priv" id="index_priv" value="Y"  class="estructura"/>
										</c:otherwise>
									</c:choose>							
								</td>
								<td>
									<label for="index_priv">
										<tt>
											<dfn title="Permite crear y eliminar índices.">INDEX</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.drop_priv=='Y'}">
											<input type="checkbox" name="drop_priv" checked="checked" id="drop_priv" value="Y"  class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="drop_priv" id="drop_priv" value="Y"  class="estructura"/>
										</c:otherwise>
									</c:choose>								
								</td>
								<td>
									<label for="drop_priv">
										<tt>
											<dfn title="Permite eliminar bases de datos y tablas.">DROP</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.create_tmp_table_priv=='Y'}">
											<input type="checkbox" name="create_tmp_table_priv" checked="checked" id="create_tmp_table_priv" value="Y"  class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="create_tmp_table_priv" id="create_tmp_table_priv" value="Y"  class="estructura"/>
										</c:otherwise>
									</c:choose>	
								</td>
								<td>
									<label for="create_tmp_table_priv">
										<tt>
											<dfn title="Permite la creación de tablas temporales.">CREATE TEMPORARY TABLES</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.show_view_priv=='Y'}">
											<input type="checkbox" name="show_view_priv" checked="checked" id="show_view_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="show_view_priv" id="show_view_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>	
								</td>
								<td>
									<label for="show_view_priv">
										<tt>
											<dfn title="Permite llevar a cabo las consultas SHOW CREATE VIEW.">SHOW VIEW</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.create_routine_priv=='Y'}">
											<input type="checkbox" name="create_routine_priv" checked="checked" id="create_routine_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="create_routine_priv" id="create_routine_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>	
								</td>
								<td>
									<label for="create_routine_priv">
										<tt>
											<dfn title="Permite crear el almacenamiento de rutinas.">CREATE ROUTINE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.alter_routine_priv=='Y'}">
											<input type="checkbox" name="alter_routine_priv" checked="checked" id="alter_routine_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="alter_routine_priv" id="alter_routine_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="alter_routine_priv">
										<tt>
											<dfn title="Permite alterar y eliminar las rutinas almacenadas.">ALTER ROUTINE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.execute_priv=='Y'}">
											<input type="checkbox" name="execute_priv" checked="checked" id="execute_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="execute_priv" id="execute_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="execute_priv">
										<tt>
											<dfn title="Permite ejecutar las rutinas almacenadas.">EXECUTE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.create_view_priv=='Y'}">
											<input type="checkbox" name="create_view_priv" checked="checked" id="create_view_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="create_view_priv" id="create_view_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="create_view_priv">
										<tt>
											<dfn title="Permite crear nuevas vistas.">CREATE VIEW</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.event_priv=='Y'}">
											<input type="checkbox" name="event_priv" checked="checked" id="event_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="event_priv" id="event_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="event_priv">
										<tt>
											<dfn title="Permite organizar los eventos para el gestor de eventos">EVENT</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.trigger_priv=='Y'}">
											<input type="checkbox" name="trigger_priv" checked="checked" id="trigger_priv" value="Y" class="estructura"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="trigger_priv" id="trigger_priv" value="Y" class="estructura"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="trigger_priv">
										<tt>
											<dfn title="Permite crear y eliminar un disparador">TRIGGER</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
							<td><input type="checkbox" id="todosestructura" onclick="checkear('estructura')"/></td>
							<td>
								<label for="todosestructura">
									<tt>
										<dfn id="todosestructuraTxt" title="Seleccionar todos los permisos de estructuras">Todos</dfn>
									</tt>
								</label>
							</td>
						</tr>
							
						</table>
						
					</fieldset>
					
					<fieldset id="administracion">
						<legend>Administración</legend>
						
						<table>
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.grant_priv=='Y'}">
											<input type="checkbox" name="grant_priv" checked="checked" id="grant_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="grant_priv" id="grant_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="grant_priv">
										<tt>
											<dfn title="Permite añadir usuarios y privilegios sin conectarse nuevamente a la tabla de privilegios.">GRANT</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.super_priv=='Y'}">
											<input type="checkbox" name="super_priv" checked="checked" id="super_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="super_priv" id="super_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="super_priv">
										<tt>
											<dfn title="Permite la conexión, incluso si el número máximo de conexiones ha sido alcanzado; Necesario para la mayor parte de operaciones administrativas tales como montar parámetros de variables globales o matar procesos de otros usuarios.">SUPER</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.process_priv=='Y'}">
											<input type="checkbox" name="process_priv" checked="checked" id="process_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="process_priv" id="process_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="process_priv">
										<tt>
											<dfn title="Permite ver los procesos de todos los usuarios">PROCESS</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.reload_priv=='Y'}">
											<input type="checkbox" name="reload_priv" checked="checked" id="reload_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="reload_priv" id="reload_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="reload_priv">
										<tt>
											<dfn title="Permite volver a cargar los parámetros del servidor y depurar los cachés del servidor.">RELOAD</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.shutdown_priv=='Y'}">
											<input type="checkbox" name="shutdown_priv" checked="checked" id="shutdown_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="shutdown_priv" id="shutdown_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="shutdown_priv">
										<tt>
											<dfn title="Permite desconectar el servidor.">SHUTDOWN</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.show_db_priv=='Y'}">
											<input type="checkbox" name="show_db_priv" checked="checked" id="show_db_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="show_db_priv" id="show_db_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="show_db_priv">
										<tt>
											<dfn title="Concede acceso a la lista completa de bases de datos.">SHOW DATABASES</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.lock_tables_priv=='Y'}">
											<input type="checkbox" name="lock_tables_priv" checked="checked" id="lock_tables_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="lock_tables_priv" id="lock_tables_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="lock_tables_priv">
										<tt>
											<dfn title="Permite poner candados a las tablas para el proceso actual.">LOCK TABLES</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.references_priv=='Y'}">
											<input type="checkbox" name="references_priv" checked="checked" id="references_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="references_priv" id="references_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="references_priv">
										<tt>
											<dfn title="No tiene efecto en esta versión de MySQL.">REFERENCES</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.repl_client_priv=='Y'}">
											<input type="checkbox" name="repl_client_priv" checked="checked" id="repl_client_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="repl_client_priv" id="repl_client_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="repl_client_priv">
										<tt>
											<dfn title="Da el derecho al usuario para preguntar dónde están los esclavos / maestros.">REPLICATION CLIENT</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.repl_slave_priv=='Y'}">
											<input type="checkbox" name="repl_slave_priv" checked="checked" id="repl_slave_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="repl_slave_priv" id="repl_slave_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="repl_slave_priv">
										<tt>
											<dfn title="Necesario para los esclavos de replicación.">REPLICATION SLAVE</dfn>
										</tt>
									</label>
								</td>
							</tr>
							
							<tr>
								<td>
									<c:choose>
										<c:when test="${lista.create_user_priv=='Y'}">
											<input type="checkbox" name="create_user_priv" checked="checked" id="create_user_priv" value="Y" class="administracion"/>
										</c:when>
										<c:otherwise>
											<input type="checkbox" name="create_user_priv" id="create_user_priv" value="Y" class="administracion"/>
										</c:otherwise>
									</c:choose>
								</td>
								<td>
									<label for="create_user_priv">
										<tt>
											<dfn title="Permite crear, eliminar y cambiar el nombre de las cuentas de usuario.">CREATE USER</dfn>
										</tt>
									</label>
								</td>
							</tr>
							<tr>
							<td><input type="checkbox" id="todosadministracion" onclick="checkear('administracion')"/></td>
							<td>
								<label for="todosadministracion">
									<tt>
										<dfn id="todosadministracionTxt"  title="Seleccionar todos los permisoso de administración.">Todos</dfn>
									</tt>
								</label>
							</td>
						</tr>
						</table>
						
					</fieldset>
					
					<div style="clear: both;"></div>
					
					<input class="boton" type="submit" value="ACEPTAR"/>
					<input class="boton" type="button" onclick="window.location='${pageContext.request.contextPath}/jsp/ver-usuarios.jsp'" value="CANCELAR"/>
					
				</fieldset>
				
				<input type="hidden" name="host" value="${lista.host}"/>
				<input type="hidden" name="user" value="${lista.user}"/>
				
				<c:set var="usuario" value="${lista.user}" ></c:set>
 				<c:set var="host" value="${lista.host}" ></c:set>
						
			</c:forEach>
			
		</form>	
		
		<fieldset id="privilegios">
			<legend>Cambiar Password</legend>
					
			<form action="${pageContext.request.contextPath}/editarPassUsuario" method="post">
				<table>
				
					<input type="hidden" name="usuarioMod" value="${usuario}"/>
					<input type="hidden" name="servidorMod" value="${host}"/>
				
					<tr>
						<td><label for="password">Nuevo Password:</label></td>
						<td><input class="campo" type="password" name="password" id="password"/></td>						
					</tr>
					
					<tr>
						<td><label for="password2">Repetir:</label></td>
						<td><input class="campo" type="password" name="password2" id="password2"/></td>						
					</tr>
					
					<tr>
						<td><input class="boton" type="submit" value="Modificar"/></td>						
					</tr>
				</table>
			</form>
									
		</fieldset>
				
	</div>

</div>

</div>
</div>
</body>
</html>
</jsp:root>